package com.boyunv.observer.example01;
/*
 *@description
 *  非共享的具体享元类
 *@author boyunv
 *@create 2023/8/8 7:12
 *@version 1.0
 */

public class UnSharedFlyweight extends Flyweight{
 private String  inState;

 public UnSharedFlyweight(String inState) {
  this.inState = inState;
 }

 @Override
 public void operation(String state) {
  System.out.println("====不工享元对象的内部状态:"+inState+",外部状态,"+state);
 }
}
